package com.renmindangjiazuozu.hzh;

public class JinGang {
    private String id;
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String toString() {
        return "动物类名：JinGang{" +
                "动物id：'" + id + '\'' +
                ", 动物名称：='" + name + '\'' +
                '}';
    }
    public void fight(){
        System.out.println("打架!!!!");
    }
}
